package com.ruoyi.dev.minio.config;

import io.minio.MinioClient;
import io.minio.errors.InvalidPortException;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author sxy
 * @date 2024/03/29
 **/
@Configuration
@Component
@Data
@ConfigurationProperties(prefix = "minio1")		// 前缀
//@PropertySource(value = {"classpath:application-druid.yml"})   // 指定配置文件
public class ConstansDevConfig {
    private String endpoint;
    private int port;
    private String accessKey;
    private String secretKey;
    private Boolean secure;
    private String bucketName;
    private String dowloadPath;



}

